package cn.topevery.garden.entity.dto.flow;


import cn.topevery.garden.entity.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.Map;

/**
 * @author yong.chen
 * @date 2020/9/15
 * @description 退件参数
 */

@Data
@ApiModel(description = "退件参数")
public class BackActPara extends BaseDTO {
    @NotEmpty
    @ApiModelProperty("办理意见")
    private String content;

    @NotEmpty
    @ApiModelProperty("当前环节实例")
    private String curInstId;

    @ApiModelProperty(value = "案件编号", hidden = true)
    private String code;

    @ApiModelProperty(value = "需要传键值对的用此参数", hidden = true)
    private Map<String, String> runtimeObject;

    @ApiModelProperty(value = "案件编号", hidden = true)
    private String formId;

    @ApiModelProperty("案件uid")
    @NotBlank(message = "案件id不能为空")
    private String evtId;
}
